package com.hengfoxwolf.ffmpegdemo
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.widget.Toast

//Activity切换
inline fun <reified T : Activity> Context.startActivity() = startActivity(Intent(this, T::class.java))

inline fun Context.showToast(message: String) =
    Toast.makeText(this, message, Toast.LENGTH_SHORT).show()



